#import <UIKit/UIKit.h>
#import "ZcoModelUser.h"
#import "Constant.h"
@interface ZcoModelCcsMessage<T> : NSObject

@property (nonatomic, strong) T data;
@property (nonatomic, strong) NSString * from;
@property (nonatomic, strong) NSString * idField;
@property (nonatomic, strong) NSString * to;
@property (nonatomic, strong) SessionMessageType type;
@property (nonatomic, strong) ZcoModelUser *fromUser;

-(instancetype)initWithDictionary:(NSDictionary *)dictionary;

-(NSDictionary *)toDictionary;
@end
